package com.kaiedu.spring.processor;

/**
 * @author kai
 * @version 1.0
 * @date 2024/6/13
 * @Description
 */
public interface kaiBeanPostProcessor {
    /**
     * 在bean的初始化之前生效
     * @param bean
     * @param beanName
     * @return
     */
    default Object postProcessBeforeInitialization(Object bean, String beanName) {

        return bean;
    }

    default Object postProcessAfterInitialization(Object bean, String beanName) {
        return bean;
    }
}
